import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { InboundOperationLogDto } from './dto/models';
import { PagedResultDto } from '@abp/ng.core';

@Injectable({
  providedIn: 'root'
})
export class InboundOperationLogService {
  private apiUrl = '/api/app/inbound-operation-log';

  constructor(private http: HttpClient) { }

  getList(params: any): Observable<PagedResultDto<InboundOperationLogDto>> {
    return this.http.get<PagedResultDto<InboundOperationLogDto>>(this.apiUrl, { params });
  }
} 